export const tableOption = {
  border: true, //是否带有纵向边框
  selection: true, //行最前面的选择框
  menuAlign: "center",
  // labelWidth: 110,//设置列名称长度
  // searchLabelWidth: 110,//搜索按钮是否单独成行，并控制搜索按钮的长度
  searchIndex: 4, //筛选收缩
  searchIcon: true,
  align: "center", //对齐方式
  emptyText: '自定义暂无数据提示语',
  column: [
    {
      label: "主键",
      prop: "cartItemId",
      type: "input",
      hide: true,
      editDisabled: true,
      editDisplay: false,
      addDisplay: false,
      span: 12
    },
    {
      label: "店铺ID",
      prop: "shopId",
      type: "input",
      span: 12
    },
    {
      label: "产品ID",
      prop: "spuId",
      type: "input",
      span: 12
    },
    {
      label: "SkuID",
      prop: "skuId",
      type: "input",
      span: 12
    },
    {
      label: "用户ID",
      prop: "userId",
      type: "input",
      span: 12
    },
    {
      label: "购物车产品个数",
      prop: "count",
      type: "input",
      span: 12
    },
    {
      label: "售价，加入购物车时的商品价格",
      prop: "priceFee",
      type: "input",
      span: 12
    },
    {
      label: "是否已勾选",
      prop: "isChecked",
      type: "input",
      span: 12
    },
    {
      label: "创建人",
      prop: "createBy",
      type: "input",
      span: 12
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "datetime",
      dateDefault: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      span: 12
    },
  ]
}
